package com.itrip.document;

import org.apache.solr.client.solrj.beans.Field;


public class Hotel {
    @Field
    private String imgUrl;
    @Field
    private String address;
    @Field
    private Double minPrice;
    @Field
    private String id;
    @Field
    private String hotelName;


    public Hotel(){}

    public Hotel(String imgUrl, String address, Double minPrice, String id, String hotelName) {
        this.imgUrl = imgUrl;
        this.address = address;
        this.minPrice = minPrice;
        this.id = id;
        this.hotelName = hotelName;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Double getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(Double minPrice) {
        this.minPrice = minPrice;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getHotelName() {
        return hotelName;
    }

    public void setHotelName(String hotelName) {
        this.hotelName = hotelName;
    }
}
